<ion-view view-title="贡献日志" need-login>
  <ion-nav-bar class="bar-positive bar-header-black" align-title="center">
    <ion-nav-back-button>返回</ion-nav-back-button>
  </ion-nav-bar>
  <ion-content>
    <ion-refresher pulling-text="下拉刷新列表..." on-refresh="doRefresh()">
    </ion-refresher>
    <div class="list">
      <div ng-if="records.length==0" style="margin: 10px;color: grey">
        没有任何记录.
      </div>
      <div class="item card" ng-repeat="r in records">
        <div class="row clearfix">
          <div class="left"><span style="color:grey;font-weight: bold">{{r.nickName}} </span></div>
          <div class="right"><span style="color:grey">{{r.cacuDate}}</span></div>
          <br>
          <div class="left"><span style="color:forestgreen;"> -{{r.lose}}微币</span><span style="color:orangered;"> (+{{r.vote}}微币)</span></div>
        </div>
      </div>
    </div>
    <ion-infinite-scroll on-infinite="loadMore()" ng-if="!noMoreItemsAvailable">
    </ion-infinite-scroll>
  </ion-content>
</ion-view>
